package day01.ti.ti02;

public class Dongwu {
    private String niao;
    private String buru;
    private String paxing;

    public Dongwu() {
    }

    public Dongwu(String niao, String buru, String paxing) {
        this.niao = niao;
        this.buru = buru;
        this.paxing = paxing;
    }

    public String getNiao() {
        return niao;
    }

    public void setNiao(String niao) {
        this.niao = niao;
    }

    public String getBuru() {
        return buru;
    }

    public void setBuru(String buru) {
        this.buru = buru;
    }

    public String getPaxing() {
        return paxing;
    }

    public void setPaxing(String paxing) {
        this.paxing = paxing;
    }
    public void dongwuyuan(){
        System.out.println("动物园有  "+getNiao()+getBuru()+getPaxing());
    }
}
